<#include "/includes/vars.inc"> 
<#assign packageDir = project.@rootPackage?replace(".","/")>
<@pp.dropOutputFile />
<#list entities.entity as entity>
	<#assign entityName = entity.@name>
	<#assign fileName = "${javaDir}${packageDir}/web/"+entityName?cap_first+"Controller.java">
	<#if !pp.outputFileExists(fileName)>
		<@pp.changeOutputFile name="${fileName}" />
		
package ${project.@rootPackage}.web;

import ${project.@rootPackage}.web.util.JsfUtil;
import java.io.Serializable;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

/**
 * Controller class for entity ${entityName}
 * <#if project.@author[0]??>@author ${project.@author}</#if>
 */
@Controller(value="${entityName?uncap_first}Controller")
@Scope("session")
public class ${entityName}Controller extends ${entityName}ControllerBase implements Serializable{
	
	private static final long serialVersionUID = 1L;
 
}
	</#if>
</#list>
